package com.group4.edu.service;

import com.github.pagehelper.PageInfo;
import com.group4.edu.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
public interface TeacherService extends IService<Teacher> {

public PageInfo<Teacher> listAll(int pageNum);

public PageInfo<Teacher> listByCondition(int pageNum,Teacher teacher);

public void update(Teacher teacher);


    List<Teacher> findBy(Teacher teacher);
}
